package net.ojbk.study.curriculumDesign.beans.canvasmodel;

import java.util.Date;

public class Canvas {
    private int cid;
    private int cgid;
    private String uid;
    private String name;
    private String creator;
    private int price;
    private String img;
    private Date createTime;
    private Date updateTime;
    private String description;

    public Canvas() {
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public Canvas(int cid, int cgid, String name, String creator, int price, String img, Date createTime, Date updateTime, String description) {
        this.cid = cid;
        this.cgid = cgid;
        this.name = name;
        this.creator = creator;
        this.price = price;
        this.img = img;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.description = description;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public int getCgid() {
        return cgid;
    }

    public void setCgid(int cgid) {
        this.cgid = cgid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
